 <!doctype html>
 <html lang="zh-CN">
 <head>
   <meta charset="UTF-8">
   <link rel="stylesheet" href="../view/admin/css/common.css">
   <link rel="stylesheet" href="../view/admin/css/main.css">
   <script type="text/javascript" src="../view/admin/js/jquery.min.js"></script>
   <script type="text/javascript" src="../view/admin/js/colResizable-1.3.min.js"></script>
   <script type="text/javascript" src="../view/admin/js/common.js"></script>
   
   <script type="text/javascript">
      $(function(){  
        $(".list_table").colResizable({
          liveDrag:true,
          gripInnerHtml:"<div class='grip'></div>", 
          draggingClass:"dragging", 
          minWidth:30
        }); 
        
      }); 
   </script>
   <title>系统首页</title>
 </head>
 <body>
  <br/>
  <div class="container" style="margin:0 auto;">
  
  <div class="box span10 oh">
    <div class="box">
      <div class="box_border">
        <div class="box_top"><b class="pl15">系统信息</b></div>
      </div>
    </div>
  <table  border="0" cellpadding="0" cellspacing="0" class="list_table">
    <tr class="tr">
      <td class="td_center" style="width:200px;">PHP版本</td>
      <td >　<?php echo $php?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">php运行方式</td>
      <td>　<?php echo php_sapi_name();?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">运行环境</td>
      <td>　<?php echo $_SERVER['SERVER_SOFTWARE'];?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">操作系统</td>
      <td>　<?php echo $os;?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">数据库版本</td>
      <td>　<?php echo "MySQL ".$mysqlinfo;?></td>
    </tr>
  </table>
  <br/>
  <br/>
  <div class="box">
      <div class="box_border">
        <div class="box_top"><b class="pl15">用户信息</b></div>
      </div>
    </div>
  <table  border="0" cellpadding="0" cellspacing="0" class="list_table">
    <tr class="tr">
      <td class="td_center" style="width:200px;">用户名</td>
      <td >　<?php echo $_SESSION['uname']?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">本次登录IP</td>
      <td>　<?php echo $_SESSION['ip'];?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">上次登录IP</td>
      <td>　<?php echo $_SESSION['lip'];?></td>
    </tr>
    <tr class="tr">
      <td class="td_center" style="width:200px;">上次登录时间</td>
      <td>　<?php echo $_SESSION['time'];?></td>
    </tr>
    
  </table>
 </div>
</div>
 </body>
 </html>
  